package com.hospital.entity;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class Offices {
    @NotNull(message = "id不得为空")
    private int office_id;

    @NotEmpty(message = "name不得为空")
    private String office_name;
}
